-- GENERATED SPELL FOR [Sparkleshell Snapper] --


function spell0_4143(pUnit, Event) --@Head Butt,n/a--
pUnit:FullCastSpellOnTarget(6730,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4143', 2259, 1)
end

function Sorts_4143(pUnit, Event)
local choix_sorts_4143 = math.random(0, 0)
if choix_sorts_4143 == 0 then
pUnit:RegisterEvent('spell0_4143', 1, 1)
end
end

function mob4143_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4143', math.random(1500, 3000), 1)
end

function mob4143_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4143_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4143_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4143, 1, 'mob4143_Action')
RegisterUnitEvent(4143, 2, 'mob4143_Leave')
RegisterUnitEvent(4143, 3, 'mob4143_Kill')
RegisterUnitEvent(4143, 4, 'mob4143_Die')
